package cn.wolfcode.wolf2w.service;

import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.query.StrategyCatalogQuery;
import cn.wolfcode.wolf2w.vo.CatalogVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface IStrategyCatalogService {

    void insert(StrategyCatalog strategyCatalog);
    void delete(String id);
    void update(StrategyCatalog strategyCatalog);
    StrategyCatalog get(String id);
    List<StrategyCatalog> list();

    Page<StrategyCatalog> query(StrategyCatalogQuery qo);

    void saveOrUpdate(StrategyCatalog strategyCatalog);

    void changeHotValue(String id, Integer hot);

    List<CatalogVO> queryCatalogVO();

    List<StrategyCatalog> catalogs(String destId);
}
